﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace $myprojectname$.Mvc.Models
{
    /// <summary>
    /// View model class for login.
    /// </summary>
    public class LoginViewModel
    {
        [Required(ErrorMessage = "The user name is required")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "The password is required")]
        [DataType(DataType.Password)]
        public string Password { get; set; }
    }
}
